package com.lopo.springSecurity.bean;

import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * 后台用户
 */
@Data
public class AdminUser {

  @NotBlank(message = "手机号不能为空")
  private String phone;

  @NotBlank(message = "密码不能为空")
  private String password;

  private String username;
}
